export const columns = [
  {
    title: '规则编号',
    dataIndex: 'no',
  },
  {
    title: '描述',
    dataIndex: 'description',
  },
  {
    title: '服务调用次数',
    dataIndex: 'callNo',
    sorter: true,
    needTotal: true,
    customRender: (text) => text + ' 次',
  },
  {
    title: '状态',
    dataIndex: 'status',
    needTotal: true,
  },
  {
    title: '更新时间',
    dataIndex: 'updatedAt',
    sorter: true,
  },
]
export const tableData = [
  { no: '1', description: 'description1', callNo: 5, status: '正常', updatedAt: '2022.02.23' },
  { no: '2', description: 'description2', callNo: 5, status: '异常', updatedAt: '2022.02.23' },
  { no: '3', description: 'description3', callNo: 5, status: '正常', updatedAt: '2022.02.23' },
  { no: '4', description: 'description4', callNo: 5, status: '处理中', updatedAt: '2022.02.23' },
]
